package com.idroid.domain;

import java.io.Serializable;

import android.location.Location;

public class SerializableLocation implements Serializable {

	double lat;
	double lon;

	/**
	 * 
	 */
	private static final long serialVersionUID = -4038459078297252020L;

	public SerializableLocation() {

	}

	public SerializableLocation(Location location) {
		lat = location.getLatitude();
		lon = location.getLongitude();
	}

	public double getLatitude() {

		return lat;
	}

	public double getLongitude() {

		return lon;
	}

	public void setLatitude(double latitude) {
		this.lat = latitude;
	}

	public void setLongitude(double longitude) {
		this.lon = longitude;
	}

}
